package cn.homework.dao;

import cn.homework.domain.Orders;

import java.util.List;
import java.util.Map;

/**
 * @author ACT
 */
public interface OrdersDao {
    void addOrderToDatabase(Orders orders, String name);

    List<Orders> findAllOrders(String name);

    List<Orders> findAllOrdersReveal();

    void delOrderById(String id);

    List<Orders> findOrderByCondition(Map<String, String[]> map);
}
